disable Transparent Background
Disables transparent background on the web pages and makes it opaque.
This method supports only the OFF_SCREEN rendering mode on Windows and Linux, and the both rendering modes on macOS. Throws an exception if the current rendering mode is not supported.
Since
7.2
Throws
when the current browser is already closed
when the current rendering mode is not supported